﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace Micro.Core.FrameWork.ORM.EntityFrameworkCore
{
    public abstract class BaseModel
    {
        [Key]
        public virtual string Id { get; set; } = string.Empty;
        public string CUserId { get; set; } = string.Empty;

        public string CUserName { get; set; } = string.Empty;
        public DateTime CTime { get; set; } = DateTime.Now;
        public string UUserId { get; set; } = string.Empty;
        public string UUserName { get; set; } = string.Empty;
        public DateTime UTime { get; set; } = DateTime.Now;
        public bool IsDelete { get; set; } = false;
    }
}
